TEST=test
cc=g++

$(TEST):test.cc
		$(cc) -o $@ $^ -std=c++11 -lmysqlclient -ljsoncpp -lboost_system -lpthread

.PHONY:clean
clean:
	rm -f $(TEST)